﻿using System.Web;

namespace Animoso.Web.Controllers
{
    public class Folders
    {
        public const string ADMINISTRATION_PICTURE_FOLDER = "BestuursFoto";
        public const int MAX_PICTURE_SIZE = 400;
        public const int MAX_THUMB_SIZE = 120;
        
        public const string ALBUM_FOLDER = "AlbumImages";
        public const string SPONSOR_PICTURE_FOLDER = "SponsorImages";
        public const string NEWS_PICTURE_FOLDER = "Pictures";
        public const string LOG_PATH = "Log";
        public const string UPLOAD = @"\Upload\";

        public static string MapAlbumPath(int albumId, HttpServerUtilityBase server)
        {
            return server.MapPath(UPLOAD + ALBUM_FOLDER + @"\album_" + albumId);
        }
    }
}